package org.lxk.edu_server.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.lxk.edu_server.doamin.Department;

import java.io.Serializable;
import java.util.List;
@Mapper
public interface DepartmentMapper {
    /** 新增 */
    void insert(Department department);
    /** 删除 */
    void delete(Serializable id);
    /** 修改 */
    void update(Department department);
    /** 查询全部 */
    List<Department> selectAll();
    /** 查询指定部门 */
    Department selectById(Serializable id);
}

